package com.zr.serviceImpl;

import com.zr.dao.XzkcDaoljc;
import com.zr.daoImpl.XzkcDaoImplljc;
import com.zr.model.Teacher;
import com.zr.service.XzkcServiceljc;

public class XzkcServiceImplljc implements XzkcServiceljc{
	//新增课程
	XzkcDaoljc xd = new XzkcDaoImplljc();
	@Override
	public boolean insertCourse(String cname, String classtime, String place, int tid) {
		return xd.insertCourse(cname, classtime, place, tid);
	}
	@Override
	public Teacher findTeacheridBytname(String tname) {	
		return xd.findTeacheridBytname(tname);
	}

}
